#include <stdio.h>
#include <stdlib.h>

int min(int t1, int t2, int t3, int *index)
{
    int m	= t1 > t2 ? (*index=2, t2) : (*index=1, t1);
    m = t3 > m ? m : (*index=3, t3);
    return m;
}

int choushu(int index)
{
    if (0 == index) {
    	return -1;
    }	
    int first = 1;
    int MT2 = 2;
    int MT3 = 3;
    int MT5 = 5;
    int ret[index];
    ret[0] = 1;
    int i = 1;
    while (i < index) {
    	int index = 0;
    	ret[index] = min(MT2, MT3, MT5, &index);
    	
    }
}

/*
int main() 
{
    int a = 2, b = 1, c = 3;
    int index;
    min(a, b, c, &index);
    printf("%d\n", index);
}
*/
